﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using HelixToolkit.Wpf;
using BuildingTomorow;
using System.IO;

namespace Testing_components
{
    /// <summary>
    /// Interaction logic for ModelTab.xaml
    /// </summary>
    public partial class ModelTab : UserControl
    {
        public ModelTab()
        {
            InitializeComponent();
            FileModelVisual3D house = new FileModelVisual3D();
            try
            {

                house.Source = AppDomain.CurrentDomain.BaseDirectory+"/3DModel/Model.3DS";
            }
            catch
            {
            }
            houseview.Children.Add(house);
        }
    }
}
